package com.cskaoyan.bean.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import java.math.BigDecimal;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Brand {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String desc;

    private String picUrl;

    private Integer sortOrder;

//    private BigDecimal floorPrice;
    @Min(1)
    private Double floorPrice;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;
//    private Integer deleted;


}